package com.qf.admin.web.system.service;

import com.qf.admin.web.system.domain.entity.SysPermission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.admin.web.system.domain.form.MenuForm;
import com.qf.admin.web.system.domain.vo.MenuOptions;
import com.qf.admin.web.system.domain.vo.PermOptions;

import java.util.List;

/**
* @author sin
* @description 针对表【sys_permission(权限表)】的数据库操作Service
* @createDate 2024-06-11 11:35:22
*/
public interface SysPermissionService extends IService<SysPermission> {

    List<String> selectPermsByUserId(Long id);

    List<SysPermission> selectAll();

    List<MenuOptions> getBtnOptions();

    List<PermOptions> selectPermByRoleId(Long roleId);

    List<Long> getBtnIds();

    MenuForm getPermsById(Long id);
}
